package com.study.book.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@TableName(value ="Carousel")
@Data
public class Carousel {

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 深圳的各个区
     */
    @TableField(value = "carousel")
    private String carousel;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
